@layout("/common/_form.html",{js:["/assets/school/studentInfo/studentInfo_edit.js"]}){

<form class="layui-form" id="studentInfoForm" lay-filter="studentInfoForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
<!--            <div class="layui-card-header"></div>-->
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 5px;">
                        <legend>基本信息</legend>
                    </fieldset>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">学校<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="schoolId" lay-search="" id="schoolId">
                                @for(item in schools){
                                <option value="${item.id}">${item.name}</option>
                                @}
                            </select>
<!--                            <input id="schoolId" name="schoolId" placeholder="请输入学校主键（学校信息表主键）" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">班级<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="classId" lay-search="" id="classId">
                                <option value="">请选择班级</option>
                                @for(item in classes){
                                <option value="${item.id}">${item.name}</option>
                                @}
                            </select>
<!--                            <input id="classId" name="classId" placeholder="请输入班级主键（班级信息表主键）" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">证件号码</label>
                        <div class="layui-input-block">
                            <input id="idNumeric" name="idNumeric" placeholder="请输入证件号码" type="text" class="layui-input" />
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md6">
                        <label class="layui-form-label">学生编码<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="code" name="code" placeholder="请输入学生编码" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">学生姓名<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="name" name="name" placeholder="请输入学生姓名" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">性别<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="sex" id="sex">
                                @for(item in SEX){
                                <option value="${item.code}">${item.name}</option>
                                @}
                            </select>
<!--                            <input id="sex" name="sex" placeholder="请输入性别" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md4">
                        <label class="layui-form-label">在读状态<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select name="status" id="status">
                                @for(item in XSZDZT){
                                <option value="${item.code}">${item.name}</option>
                                @}
                            </select>
<!--                            <input id="guardianName" name="guardianName" placeholder="请输入监护人姓名" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <textarea id="memo" name="memo" placeholder="请输入备注" type="text" class="layui-textarea" ></textarea>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}